import org.junit.Test;

import java.util.HashMap;
import java.util.Map;

public class test {
    @Test
    public void test(){
        Map<String,Object> map=new HashMap<>();
        Map<String,int []> map1=new HashMap<>();
        int []a=new int[]{1,2,3,4,5,6};
        map1.put("a",a);
        for (int i : a) {
            map.put("s",i);
        }
        map.put("a","sss");
        System.out.println(map);
        System.out.println(map1);
        int []a1 = (int[])map1.get("a");
        for (int i : a1) {
            System.out.println(i);
        }
    }
}